package com.recruit.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.recruit.model.AdvertisingDO;
import com.recruit.service.AdvertisingService;
import com.recruit.mapper.AdvertisingMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;

/**
* @author tzg157
* @description 针对表【advertising(首页轮播广告)】的数据库操作Service实现
* @createDate 2023-11-22 11:20:30
*/
@Service
public class AdvertisingServiceImpl extends ServiceImpl<AdvertisingMapper, AdvertisingDO>
    implements AdvertisingService{

    @Resource
    private AdvertisingMapper advertisingMapper;

    @Override
    public List<AdvertisingDO> advPics(Integer advPicsCount) {
        return advertisingMapper.advPics(advPicsCount);
    }

}




